<template>
  <d2-container>
    <div class="hello">
      <header>
        <div style="width:80%;margin:0 auto;display:flex;justify-content: space-between;align-items: center;">
          <img src="../../../assets/1-8.png" alt="" style="height:70px;">
          <div style="display:flex;">
            <h2 style="color:white;cursor: pointer;" @click="Logins('Login')">登录</h2>
            <h2 style="color:white;cursor: pointer;margin-left:30px;" @click="Logins('register')">注册</h2>
          </div>
        </div>
      </header>
      <div class="section">
        <img src="../../../assets/bgm.png" style="width:100%;" alt="">
        <div
          style="position:absolute;top:30%;left:10%;display:flex;flex-direction: column;height:150px;justify-content: space-around">
          <span style="font-size:30px;color:white;">商家身边的专业网店流量提升工具</span>
          <br/>
          <br/>
          <span style="font-size:28px;color:white;">智能派单 | 日放1000不降权 | 身份实名认证</span>
          <br/>
          <br/>
          <span style="font-size:28px;color:white;">轻松打造爆款 / 提升排名权重</span>
          <br/>
          <br/>
          <span style="font-size:28px;color:white;">引爆手淘流量 / 新品快速破零</span>
<!--          <div class="join" @click="$router.push({path:'/Admin_Login',query:{val:'Login'}})">立即体验</div>-->
        </div>
      </div>
      <div style="width:80%;margin:5% auto" :class="{fadeInDown:scrollTOp>=100}">
        <h1 style="font-size:20px;color:black;"><span
          style="width: 4px;height: 20px;background: #0088ff;border-radius: 0 100px 100px 0;margin-right: 20px;display: inline-block;"></span>我们为您提供
        </h1>
        <div style="width:100%;margin:0 auto;display:flex;justify-content: space-around;">
          <div class="zs">
            <img src="../../../assets/home-6.png" style="width:90px;height: 90px;" alt="">
            <span style="font-size:25px;">真实访问流量</span>
            <span style="font-size:16px;width:80%;">海量真实用户自然人工浏览,手持身份证实名,安全可靠</span>
          </div>
          <div
            class=" zs">
            <img src="../../../assets/home-7.png" style="width:90px;height: 90px;" alt="">
            <span style="font-size:25px;">智能派单系统</span>
            <span style="font-size:16px;width:80%;">独家智能派单系统,类目权重值+消费力度+等级精准匹配派单</span>
          </div>
          <div
            class=" zs">
            <img src="../../../assets/home-8.png" style="width:90px;height: 90px;" alt="">
            <span style="font-size:25px;">全维度价值提升</span>
            <span style="font-size:16px;width:80%;">关键词搜索进店,结合浏览+收藏+货比+成交,最后多类型好评</span>
          </div>
          <div
            class=" zs">
            <img src="../../../assets/home-9.png" style="width:90px;height: 90px;" alt="">
            <span style="font-size:25px;">精准关键词提升</span>
            <span style="font-size:16px;width:80%;">精准买家搜索关键词进店,提高点击率,带动进店流量</span>
          </div>
        </div>
      </div>
      <!--       :class="{fadeInDown:scrollTOp>=555}"-->
      <div style="width:80%;margin:10px auto">
        <h1 style="font-size:20px;">
          <span
            style="width: 4px;height: 20px;background: #0088ff;border-radius: 0px 100px 100px 0px;margin-right: 20px;display: inline-block;">
          </span>你是不是有这些烦恼</h1>
        <div style="width:100%;margin:0 auto;display:flex;justify-content: space-around;flex-wrap: wrap">
          <div class="zc" style="width:30%;display:flex;flex-direction: column;border-radius:10px;">
            <div
              style="color:white;background:#00cca3;display:flex;justify-content:center;align-items: center;border-top-left-radius:10px;border-top-right-radius:10px;">
              <span style="color:white;display: inline-block;vertical-align: top;padding-right: 10px;">1. </span>
              <p>主持代放：做单来源单一，不够安全，权重不高</p>
            </div>
            <div
              style="height:80px;display:flex;justify-content: center;align-items: center;background: rgb(245,248,249);border-bottom-left-radius:10px;border-bottom-right-radius:10px;">
              <span style="color: #188fff;width:70%;">我们：多任务类型模式，可当天单、隔天单，可双关键词多种操作模式，安全性更高</span>
            </div>
          </div>
          <div class="zc" style="width:30%;display:flex;flex-direction: column;border-radius:10px;">
            <div
              style="color:white;background:#00cca3;display:flex;justify-content:center;align-items: center;border-top-left-radius:10px;border-top-right-radius:10px;">
              <span style="color:white;display: inline-block;vertical-align: top;padding-right: 10px;">2. </span>
              <p>资金风险：客单价太高在外边做单怕被退款</p>
            </div>
            <div
              style="height:80px;display:flex;justify-content: center;align-items: center;background: rgb(245,248,249);border-bottom-left-radius:10px;border-bottom-right-radius:10px;">
              <span style="color: #188fff;width:70%;">我们：平台给商家资金安全保障，恶意退款，全额赔付！</span>
            </div>
          </div>
          <div class="zc" style="width:30%;display:flex;flex-direction: column;border-radius:10px;">
            <div
              style="color:white;background:#00cca3;display:flex;justify-content:center;align-items: center;border-top-left-radius:10px;border-top-right-radius:10px;">
              <span style="color:white;display: inline-block;vertical-align: top;padding-right: 10px;">3. </span>
              <p>系统跟不上：稽查逻辑严格，你还在单一的操作</p>
            </div>
            <div
              style="height:80px;display:flex;justify-content: center;align-items: center;background: rgb(245,248,249);border-bottom-left-radius:10px;border-bottom-right-radius:10px;">
              <span style="color: #188fff;width:70%;">我们：买手入驻平台，都会有教各种操作模式，可截图检查</span>
            </div>
          </div>
          <div class="zc" style="width:30%;display:flex;flex-direction: column;border-radius:10px;margin-top:20px;">
            <div
              style="color:white;background:#00cca3;display:flex;justify-content:center;align-items: center;border-top-left-radius:10px;border-top-right-radius:10px;">
              <span style="color:white;display: inline-block;vertical-align: top;padding-right: 10px;">4. </span>
              <p>买家质量差：不按规矩做单，账号狂刷</p>
            </div>
            <div
              style="height:80px;display:flex;justify-content: center;align-items: center;background: rgb(245,248,249);border-bottom-left-radius:10px;border-bottom-right-radius:10px;">
              <span style="color: #188fff;width:70%;">我们：买手入驻平台，会有对接的查号审核，截图商家可以直接在平台查看</span>
            </div>
          </div>
          <div class="zc" style="width:30%;display:flex;flex-direction: column;border-radius:10px;margin-top:20px;">
            <div
              style="color:white;background:#00cca3;display:flex;justify-content:center;align-items: center;border-top-left-radius:10px;border-top-right-radius:10px;">
              <span style="color:white;display: inline-block;vertical-align: top;padding-right: 10px;">5. </span>
              <p>发错快递：看错订单，发出真货，损失运费</p>
            </div>
            <div
              style="height:80px;display:flex;justify-content: center;align-items: center;background: rgb(245,248,249);border-bottom-left-radius:10px;border-bottom-right-radius:10px;">
              <span style="color: #188fff;width:70%;">我们：买手在平台这边都有提交旺旺名字，还有下单编号，更方便商家核对</span>
            </div>
          </div>
          <div class="zc" style="width:30%;display:flex;flex-direction: column;border-radius:10px;margin-top:20px;">
            <div
              style="color:white;background:#00cca3;display:flex;justify-content:center;align-items: center;border-top-left-radius:10px;border-top-right-radius:10px;">
              <span style="color:white;display: inline-block;vertical-align: top;padding-right: 10px;">6. </span>
              <p style="">鱼塘风险：资金、鱼群，都不稳定，监管不到位</p>
            </div>
            <div
              style="height:80px;display:flex;justify-content: center;align-items: center;background:rgb(245,248,249);border-bottom-left-radius:10px;border-bottom-right-radius:10px;">
              <span style="color: #188fff;width:70%;">我们：平台买手入驻时，会有专人对接指导操作，操作每一步都需要核对操作信息是否正确</span>
            </div>
          </div>
        </div>
      </div>
      <div style="width:80%;margin:20px auto">
        <h1 style="font-size:20px;">
          <span
            style="width: 4px;height: 20px;background: #0088ff;border-radius: 0px 100px 100px 0px;margin-right: 20px;display: inline-block;">
          </span>全网独家核心词功能</h1>
        <div style="display:flex;justify-content: space-between;">
          <div
            style="padding: 37px 0 70px;display:flex;flex-direction: column;justify-content: space-around;align-items: center;width:49%;height:200px;background:#f2fefa;">
            <i class="el-icon-setting" style="font-size:50px;font-weight:100"></i>
            <span style="color:#00cca3;font-weight:600;font-size:20px;">商家提供核心词</span>
            <span style="width:90%;">商家提供核心词与购物的搜索关键词。核心词通常为大词，
                  用于用户在未明确购买物品的时候盲搜的关键词。
                  搜索关键词则为用户盲搜完后明确自己需求继而精确搜索的关键词。</span>
          </div>
          <div
            style="padding: 37px 0 70px;display:flex;flex-direction: column;justify-content:space-around;align-items: center;width:49%;height:200px;background:#f2fefa;">
            <i class="el-icon-shopping-cart-2" style="font-size:50px;font-weight:100"></i>
            <span style="color:#00cca3;font-weight:600;font-size:20px;">模拟真实行径</span>
            <span style="width:90%;">在没有明确需求的目标商品前提下，用户将通过核心词进行盲搜浏览，
              打上目标商品的类目标签，接着再根据精确的搜索关键词搜索到目标宝贝，此时入店权重分值高而精</span>
          </div>
        </div>
      </div>
      <div style="width:80%;margin:20px auto">
        <h1 style="font-size:20px;">
          <span
            style="width: 4px;height: 20px;background: #0088ff;border-radius: 0 100px 100px 0;margin-right: 20px;display: inline-block;">
          </span>操作流程</h1>
        <div style="display:flex;justify-content: center;">
          <div :class="{actives:flag == 1,activing:flag !=1}" style="display:flex;justify-content:center;align-items: center;width:100px;cursor:pointer;
           height:40px;border-bottom-left-radius:5px;border-top-left-radius:5px;border:1px solid #00cca3"
               @click="getactive(1)">
            <span>商家</span>
          </div>
          <div :class="{actives:flag == 2,activing:flag !=2}" style="display:flex;justify-content:center;align-items: center;width:100px;cursor:pointer;
          height:40px;border-bottom-right-radius:5px;border-top-right-radius:5px;border:1px solid #00cca3"
               @click="getactive(2)">
            <span>买家</span>
          </div>
        </div>
        <div style="display:flex;justify-content: space-around;margin-top:30px;transition: all 1.5s ease-out;" v-if="flag == 1">
          <div style="display:flex;flex-direction: column;justify-content: center;align-items: center;">
            <i class="el-icon-user-solid" style="font-size:44px;color:#00cca3"></i>
            <span style="margin-top:10px;">账户注册</span>
            <span style="margin-top:10px;">01</span>
          </div>
          <div style="display:flex;flex-direction: column;justify-content: center;align-items: center;">
            <i class="el-icon-s-shop" style="font-size:44px;color:#00cca3"></i>
            <span style="margin-top:10px;">绑定店铺</span>
            <span style="margin-top:10px;">02</span>
          </div>
          <div style="display:flex;flex-direction: column;justify-content: center;align-items: center;">
            <i class="el-icon-s-goods" style="font-size:44px;color:#00cca3"></i>
            <span style="margin-top:10px;">确认宝贝</span>
            <span style="margin-top:10px;">03</span>
          </div>
          <div style="display:flex;flex-direction: column;justify-content: center;align-items: center;">
            <i class="el-icon-s-order" style="font-size:44px;color:#00cca3"></i>
            <span style="margin-top:10px;">发布任务</span>
            <span style="margin-top:10px;">04</span>
          </div>
          <div style="display:flex;flex-direction: column;justify-content: center;align-items: center;">
            <i class="el-icon-money" style="font-size:44px;color:#00cca3"></i>
            <span style="margin-top:10px;">支付金额</span>
            <span style="margin-top:10px;">05</span>
          </div>
          <div style="display:flex;flex-direction: column;justify-content: center;align-items: center;">
            <i class="el-icon-s-claim" style="font-size:44px;color:#00cca3"></i>
            <span style="margin-top:10px;">活动上线</span>
            <span style="margin-top:10px;">06</span>
          </div>
          <div style="display:flex;flex-direction: column;justify-content: center;align-items: center;">
            <i class="el-icon-s-promotion" style="font-size:44px;color:#00cca3"></i>
            <span style="margin-top:10px;">活动完成</span>
            <span style="margin-top:10px;">07</span>
          </div>
        </div>
        <div style="display:flex;justify-content: space-around;margin-top:30px;transition: all 1.5s ease-out;" v-if="flag == 2">
          <div style="display:flex;flex-direction: column;justify-content: center;align-items: center;">
            <i class="el-icon-s-platform" style="font-size:44px;color:#00cca3"></i>
            <span style="margin-top:10px;">选择平台</span>
            <span style="margin-top:10px;">01</span>
          </div>
          <div style="display:flex;flex-direction: column;justify-content: center;align-items: center;">
            <i class="el-icon-document" style="font-size:44px;color:#00cca3"></i>
            <span style="margin-top:10px;">接取任务</span>
            <span style="margin-top:10px;">02</span>
          </div>
          <div style="display:flex;flex-direction: column;justify-content: center;align-items: center;">
            <i class="el-icon-s-shop" style="font-size:44px;color:#00cca3"></i>
            <span style="margin-top:10px;">进店操作</span>
            <span style="margin-top:10px;">03</span>
          </div>
          <div style="display:flex;flex-direction: column;justify-content: center;align-items: center;">
            <i class="el-icon-money" style="font-size:44px;color:#00cca3;"></i>
            <span style="margin-top:10px;">下单付款</span>
            <span style="margin-top:10px;">04</span>
          </div>
          <div style="display:flex;flex-direction: column;justify-content: center;align-items: center;">
            <i class="el-icon-s-claim" style="font-size:44px;color:#00cca3"></i>
            <span style="margin-top:10px;">完成任务</span>
            <span style="margin-top:10px;">05</span>
          </div>
          <div style="display:flex;flex-direction: column;justify-content: center;align-items: center;">
            <i class="el-icon-goblet-square-full" style="font-size:44px;color:#00cca3"></i>
            <span style="margin-top:10px;">收货好评</span>
            <span style="margin-top:10px;">06</span>
          </div>
          <div style="display:flex;flex-direction: column;justify-content: center;align-items: center;">
            <i class="el-icon-lollipop" style="font-size:44px;color:#00cca3"></i>
            <span style="margin-top:10px;">给予奖励</span>
            <span style="margin-top:10px;">07</span>
          </div>
        </div>
      </div>
      <div class="footer">
        <span style="color:white;font-size:30px;">平台已帮助<b
          style="color: #00B38A;font-size:50px;">{{NumberValue}}</b>位商家解决难题</span>
        <br/>
        <br/>
        <br/>
        <br/>
        <span style="color:white;font-size:20px;">在线提交您的疑问，我们将为您提供专业免费的咨询服务</span>
      </div>
    </div>
  </d2-container>
</template>

<script>
  export default {
    name: "Index",
    data() {
      return {
        scrollTOp: null,
        flag: 1,
        NumberValue:14751, //需要变化的数字
      }
    },
    methods: {
      getactive(val) {
        this.flag = val
      },
      Logins(val) {
        if (val == 'register') {
          this.$router.push({
            path: '/Admin_Login',
            query: {
              val: val,
            }
          })
        } else {
          this.$router.push({
            path: '/Admin_Login',
            query: {
              val: val,
            }
          })
        }
      },
      handleScroll() {
        this.scrollTOp = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop
      }
    },
    mounted() {
      if(this.$route.query.k){
         window.sessionStorage.setItem('k',this.$route.query.k)
         this.$router.push('/')
      }
      this.handleScroll()
      window.addEventListener('scroll', this.handleScroll)
    },
    destroyed() {
      window.removeEventListener('scroll', this.handleScroll)
    }
  };
</script>

<style lang="scss">
  .hello {
    width: 100%;
    /*background:url("../../../assets/92dfa44fcd5ab26ae200b01f837ff52.png");*/
    /*background-size:100% 100%;*/
    display: flex;
    flex-direction: column;
    header {
      display: flex;
      width: 100%;
      background:linear-gradient(left,rgb(6,203,162),rgb(59,191,192));
      /*background-size: cover;*/
      position: sticky;
      top: 0;
      z-index: 999;
      margin: 0 auto;
      height: 70px;
    }
  }

  .actives {
    background: #39bfc8;
    color: white;
    transition: .3s ease-in-out;
  }

  .activing {
    background: white;
    color: #39bfc8;
    transition: 0.5s ease-in-out;
  }

  .join {
    position: absolute;
    cursor: pointer;
    width: 183px;
    font-size: 24px;
    height: 50px;
    line-height: 50px;
    font-weight: 700;
    text-align: center;
    background: white;
    color: #39bfc8;
    left: 0%;
    bottom: -120%;
  }

  .footer {
    width: 100%;
    margin-top: 5%;
    margin-bottom: 5%;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url("../../../assets/29f9391458398fdacba736059299402.png");
    background-size: 100% 100%;
  }

  .section {
    width: 100%;
    height: 500px;
    position: relative;
  }

  .zs {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 280px;
    height: 300px;
    color: black;
    border-radius: 20px;
    background: #f5f8f9;
    justify-content: space-around;
    align-items: center;
    transition: all 0.5s ease-out;
  }

  .zs:hover {
    transform: scale(1.1);
  }
  .zc{
    transition: all 0.5s ease-out;
  }
  .zc:hover{
    transform: scale(1.1);
  }
  .fadeInDown {
    transition-delay: 0.2s;
  }
</style>
